package com.example.demo.dao;

import com.example.demo.model.Comment;
import com.example.demo.model.User;

import java.util.List;

public interface CommentDao {
    int deleteByPrimaryKey(Integer commentId);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Integer commentId);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKey(Comment record);

    List<Comment> selectByDishId(Long dishId);

    List<Comment> findAll();
}